// #ifdef APP-PLUS
var bridge = uni.requireNativePlugin("UniBridge");
// #endif

// #ifdef (H5 || MP)
var bridge = {
	setToken: function(param){
		console.log(param);
	},
	getToken: function(obj, fn){
		var ret = {is_sub: 0, sub_mch_id:0, token: "nIzs6r2mrkwDDttN1J8A2QtUHpCbZVzD"};
		fn.call(this, ret);
	},
	logout: function(){}
};
// #endif


module.exports = bridge;